﻿#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>
int main() {
	int a[3][3] = { {1, 2}, {3, 4}, {5,6} }, i, j, s= 0;
	for (i= 1; i< 3; i++)
		for (j= 0; j<= i; j++) s+= a[i][j];
	printf("%d\n", s++);
}